import requests

url = "https://v3-web.douyinvod.com/2b365bfa059b4ae6724e8c1521e36e3b/660199cf/video/tos/cn/tos-cn-ve-15/oQZAAx4eXA0EflvDCFPAieAc2FYAIEADtCHt2e/?a=6383&ch=5&cr=3&dr=0&lr=all&cd=0%7C0%7C0%7C3&cv=1&br=578&bt=578&cs=2&ds=4&ft=I~D7TISS9cati6fUuRfK9ew1Hqkah4BHcO7Tk6k3v012xzZZrqz~Xl6mkXwwUx&mime_type=video_mp4&qs=15&rc=N2k8ZTRnN2QzNzhkODRoOEBpMzdwZDY6ZmozcjMzNGkzM0AwNWM0M18zNjExMzM2YzAxYSNrZC1kcjRnay1gLS1kLWFzcw%3D%3D&btag=e00038000&cquery=100a&dy_q=1711373097&feature_id=9bcd3da4752f92402ca306ab9cd46f9b&l=20240325212455353783C767C4420D903C"
res = requests.get(url)
print(res.content)
open('test.mp4', 'wb').write(res.content)